﻿<%@ Page Language="C#" AutoEventWireup="true"  enableEventValidation="false" CodeBehind="scheduler_Search_list.aspx.cs" Inherits="Ccit.OA.Scheduler.scheduler_Search_list" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v8.1" namespace="DevExpress.Web.ASPxGridView" tagprefix="dxwgv" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v8.1" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>
<%@ Register TagPrefix="ccit" Namespace="Ccit.ServerControls" Assembly="Ccit.ServerControls.ActionForm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>日程管理-日程查询列表</title>
    <script language="javascript" type="text/javascript" src="../script/jquery.js"></script>
    <script language="javascript" type="text/javascript" src="../script/StringClass_Ext.js"></script>
    <script language="javascript" type="text/javascript" src="../script/jsonlib.js"></script>
    <script language="javascript" src="../script/jwindow.js" type="text/javascript"></script>
    <script language="javascript" src="../script/jcontrol.js" type="text/javascript"></script>
    <script language="javascript" src="../script/jbase64.js" type="text/javascript"></script>
    <script type="text/javascript">
        function doSearch()
        {           
            var tabId = document.getElementById("_hidTabId").value;
            var oPageParam="typeId=&tabId="+tabId+"&Flag=1";
            var oEncodeParam=base64encode(oPageParam); 
            var strUrl ="scheduler_Param_frame.aspx?"+oEncodeParam;
            OpenWindow(strUrl,"","860","600");
        }
        function DoBack()
        {
             __doPostBack("lnbQuery","");
        }
    </script>
</head>
<body>
    <ccit:ActionForm id="form1" runat="server">
        <input type="hidden" id="_hidQuery" runat="server" />
        <input type="hidden" id="_hidTabId" runat ="server" />
        <asp:LinkButton ID="lnbQuery" CssClass="linktext" runat="server" 
                                 Visible="false" onclick="lnbQuery_Click"></asp:LinkButton>
        <table class="tbToolbar" cellpadding="0" cellspacing="0" width="98%" align="center">
                    <tr>
                        <td align="left">
                            <div class="tbSeparator"></div>
                        </td>
                        <td width="100%" class="titlebar">  
                            日程管理-日程查询列表
                        </td>                
                        <td align="right">
                            <nobr> 
                                <a  id="lnbAdd" Runat="server" class="linktext"  
                                href="javascript:doSearch()">
							        <img src="../images/toolbar/search.gif" border="0">查询
						        </a> 
                             </nobr>
                        </td> 
                    </tr>
       </table>
       <table cellpadding="0" cellspacing="0" runat="server" width="98%"  align="center">
           <tr>
             <td>
                <dxwgv:ASPxGridView ID="gvSchList" runat="server" Width="100%"   AutoGenerateColumns="False"
                     Settings-ShowGroupPanel="true" onhtmlrowcreated="gvSchList_HtmlRowCreated">  
                    <SettingsText GroupPanel="分组栏" />                                                                                       
                    <SettingsPager AlwaysShowPager="True" PageSize="15">
                        <FirstPageButton Visible="True">
                        </FirstPageButton>
                        <LastPageButton Visible="True">
                        </LastPageButton>
                    </SettingsPager>
                     <Styles>
                        <Row CssClass=""></Row>
                        <AlternatingRow  CssClass="" Enabled="true"/>
                        <SelectedRow  CssClass=""></SelectedRow>                
                    </Styles>  
                    <Columns>
                        <dxwgv:GridViewDataTextColumn Caption="完成标志" VisibleIndex="1"  FieldName="Complete">
                            <HeaderStyle HorizontalAlign="Center" />
                            <CellStyle HorizontalAlign="Center"></CellStyle>
                        </dxwgv:GridViewDataTextColumn>
                        <dxwgv:GridViewDataTextColumn Caption="日程类型" VisibleIndex="2" FieldName="SchType">
                            <HeaderStyle HorizontalAlign="Center" />
                            <CellStyle HorizontalAlign="Center"></CellStyle>
                        </dxwgv:GridViewDataTextColumn>
                        <dxwgv:GridViewDataTextColumn Caption="人员" VisibleIndex="3"  FieldName="UserID">
                            <HeaderStyle HorizontalAlign="Center" />
                            <CellStyle HorizontalAlign="Center"></CellStyle>
                        </dxwgv:GridViewDataTextColumn>
                        <dxwgv:GridViewDataTextColumn Caption="主题" VisibleIndex="4" FieldName="title">
                            <HeaderStyle HorizontalAlign="Center" />
                            <CellStyle HorizontalAlign="Center"></CellStyle>
                        </dxwgv:GridViewDataTextColumn>
                        <dxwgv:GridViewDataTextColumn Caption="地点" VisibleIndex="5" FieldName="address">
                            <HeaderStyle HorizontalAlign="Center" />
                            <CellStyle HorizontalAlign="Center"></CellStyle>
                        </dxwgv:GridViewDataTextColumn>
                        <dxwgv:GridViewDataTextColumn Caption="日程分类" VisibleIndex="6" FieldName="SchClass">
                            <HeaderStyle HorizontalAlign="Center" />
                            <CellStyle HorizontalAlign="Center"></CellStyle>
                        </dxwgv:GridViewDataTextColumn>
                        <dxwgv:GridViewDataTextColumn Caption="起始时间" VisibleIndex="7" FieldName="Begtime" Width="12%">
                            <HeaderStyle HorizontalAlign="Center" />
                            <CellStyle HorizontalAlign="Center"></CellStyle>
                        </dxwgv:GridViewDataTextColumn>
                        <dxwgv:GridViewDataTextColumn Caption="结束时间" VisibleIndex="8" FieldName="Endtime" Width="12%">
                            <HeaderStyle HorizontalAlign="Center" />
                            <CellStyle HorizontalAlign="Center"></CellStyle>
                        </dxwgv:GridViewDataTextColumn>
                    </Columns>
                    <Settings ShowGroupPanel="True"></Settings>
                </dxwgv:ASPxGridView> 
             </td>
           </tr> 
       </table>
        </ccit:ActionForm>
</body>
</html>
